<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Math</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">PureBasic - Math</font></b></p>

<p><b>Overview</b></p><blockquote>





Math library provides basic mathematical functions such as: <a href="cos.html">Cos()</a>, <a href="sin.html">Sin()</a>, <a href="pow.html">Pow()</a>, <a href="log.html">Log()</a> etc... 
Almost all these functions work with floats or doubles, i.e. numbers with the .f or .d extensions. 
If a function is used with a double value as input or output, it will automatically switch to 
double precision instead of single precision for its calculations. 

 

</blockquote><p><b>Command Index</b><blockquote>
<a href="acos.html">ACos</a><br>
<a href="acosh.html">ACosH</a><br>
<a href="asin.html">ASin</a><br>
<a href="asinh.html">ASinH</a><br>
<a href="atan.html">ATan</a><br>
<a href="atan2.html">ATan2</a><br>
<a href="atanh.html">ATanH</a><br>
<a href="abs.html">Abs</a><br>
<a href="cos.html">Cos</a><br>
<a href="cosh.html">CosH</a><br>
<a href="degree.html">Degree</a><br>
<a href="exp.html">Exp</a><br>
<a href="infinity.html">Infinity</a><br>
<a href="int.html">Int</a><br>
<a href="intq.html">IntQ</a><br>
<a href="isinfinity.html">IsInfinity</a><br>
<a href="isnan.html">IsNaN</a><br>
<a href="log.html">Log</a><br>
<a href="log10.html">Log10</a><br>
<a href="mod.html">Mod</a><br>
<a href="nan.html">NaN</a><br>
<a href="pow.html">Pow</a><br>
<a href="radian.html">Radian</a><br>
<a href="random.html">Random</a><br>
<a href="randomdata.html">RandomData</a><br>
<a href="randomseed.html">RandomSeed</a><br>
<a href="round.html">Round</a><br>
<a href="sign.html">Sign</a><br>
<a href="sin.html">Sin</a><br>
<a href="sinh.html">SinH</a><br>
<a href="sqr.html">Sqr</a><br>
<a href="tan.html">Tan</a><br>
<a href="tanh.html">TanH</a><br>
</blockquote></p>

<p><b>示例</b></p><blockquote>
<a href="../Examples/Math.pb.html">Math.pb</a>

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center><a href=../reference/reference.html>Reference Manual - Index</a></center>

</body></html>